package com.txtsqlclient.ui.vo;

import com.txtsqlclient.domain.DataSource;
import com.txtsqlclient.domain.DataSourceType;

/**
 * @author spadda
 * 
 */
public class Session {

	private DataSourceType dsType;

	private DataSource dataSource;

	private boolean active = true;

	private String command;

	/**
	 * @return the active
	 */
	public boolean isActive() {
		return active;
	}

	/**
	 * @param active
	 *            the active to set
	 */
	public void setActive(boolean active) {
		this.active = active;
	}

	/**
	 * @return the dsType
	 */
	public DataSourceType getDsType() {
		return dsType;
	}

	/**
	 * @param dsType
	 *            the dsType to set
	 */
	public void setDsType(final DataSourceType dsType) {
		this.dsType = dsType;
	}

	/**
	 * @return the dataSource
	 */
	public DataSource getDataSource() {
		return dataSource;
	}

	/**
	 * @param dataSource
	 *            the dataSource to set
	 */
	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}

	/**
	 * @return the command
	 */
	public String getCommand() {
		return command;
	}

	/**
	 * @param command
	 *            the command to set
	 */
	public void setCommand(String command) {
		this.command = command;
	}
}